package com.dhcc.sdc.base.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.sdc.base.entity.SdcCdssContraindicationMatchEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 病种禁忌症关联
 *
 */
public interface SdcCdssContraindicationMatchServiceMapper extends BaseMapper<SdcCdssContraindicationMatchEntity> {

    List<SdcCdssContraindicationMatchEntity> list(@Param("map") Map<String, Object> map);
    List<SdcCdssContraindicationMatchEntity> page(@Param("page")Page<SdcCdssContraindicationMatchEntity> page, @Param("map") Map<String, Object> map);

    List<Long> getEntityId(Long contraindicationId);

    List<Long> getContraindicationId(Long entityId);

    Long getCdssitemId(Long assId);
}
